package com.zmn.plat.admin.controller.product.picture;

import javax.servlet.http.HttpServletRequest;

import com.zmn.common.dto2.ResponseDTO;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.zmn.plat.model.entity.product.ServProductPicture;

@Controller
@RequestMapping("/tariffProduct/picture/")
public class TariffServProductPictureModifyController extends ServProductPictureBaseController {

    /**
     * region 新增/修改
     *
     * @param servProductPicture
     *            产品新增修改实体
     * @return ModelAndView 执行结果
     * @modifier tanbiao 2019/09/30 前台后台产品代码整理
     */
    @RequestMapping(value = "addEdit")
    @ResponseBody
    public ResponseDTO addEdit(HttpServletRequest request, @RequestBody ServProductPicture servProductPicture) {
        return super.addEdit(servProductPicture);
    }

}
